package com.myshop.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.myshop.dao.ProductDao;
import com.myshop.entity.Product;
import com.myshop.service.ProductService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * (Product)表服务实现类
 *
 * @author makejava
 * @since 2023-07-21 17:19:11
 */
@Service("productService")
public class ProductServiceImpl extends ServiceImpl<ProductDao, Product> implements ProductService {


    @Override
    public List<Product> listBySearch(Product product) {
        return this.query().list();
    }
}
